<?php
class Mozg_Router
{
    /**
		список объектов запроса
     */
    static private $_routers = array();

    static public function Get($protName)
    {
        $className = 'App_Router_' . $protName;
        
        if (!isset(self::$_routers[$protName])) 
        {
            self::$_routers[$protName] = new $className();
        }
        
        return self::$_routers[$protName];
    }
}